def average(arg):
    count=0
    for i in arg:
        count+=i
    return count/len(arg)

def weightInput():
    return eval(input("请输入体重，用逗号相隔\n"))

def weightOutput(out):
    print(out)

def main():
    lis=weightInput()
    ave=average(lis)
    out=[]
    for i in lis:
        if i>=ave:
            out.append(i)
    weightOutput(out)

main()
